code: public double distance(Coordinate c) {
  		double dx = x - c.x;
  		double dy = y - c.y;
  
  		return Math.sqrt(dx * dx + dy * dy);
  	}
docs: Computes the 2-dimensional Euclidean distance to another location.
  
  @param c
  Another coordinate
  @return the 2-dimensional Euclidean distance between the locations