#11 Refactored the Coordinate class.