normalize method

Vector normalize ()

Implementation

Vector normalize() {
  num nf = 1 / length;
  return Vector(x * nf, y * nf);
}