Implement a method that returns the distance between two points:
double distance(LatticePoint p);
such that the distance between ( a, b ) and ( c, d ) is de ned as √
Overload the distance method, so that the call
p.double distance()
returns the distance from (0, 0) to p.