caseClass_19000871

Implement a case class Point(x,y) and create following methods:

  1. add(+) should add two given points

  2. move should move a point by a given distance dx and dy

  3. distance should return the distance between two given points

  4. invert should switch the x and y coordinates.