Program to find Average Distance between Random points in a Square