add method

Point add(
  1. Point p
)

Implementation

Point add(Point p) {
  return Point(x + p.x, y + p.y);
}