
Compute the average weight of the minimum spanning tree for a collection of n random points in the unit square:
for (int i=0; i < n; i++)
X[i] = UniformRandom.uniform();
for (int i=0; i < n; i++)
Y[i] = UniformRandom.uniform();
Submission: