Returns the euclidean distance between n1 and n2.
n1
n2
double distance(PointNode n1, PointNode n2) { return n1.location.distanceTo(n2.location); }