Chacnged Coordinates class, added Exceptions and eddited Method