Practice with overloading

Practice with overloading#

Define a class Coord of two-dimensional Cartesian coordinates (i.e., just x and y).