added class Point2D
added class DistancePoints