A program that calculates the distance between two points on an x-y plane.