add method

Vector add(
  1. Vector other
)

Implementation

Vector add(Vector other) {
  return Vector(x + other.x, y + other.y, z + other.z);
}