code: func (p *Point) Normalize() *Point {
  	dist := math.Sqrt(p[0]*p[0] + p[1]*p[1])
  
  	if dist == 0 {
  		p[0] = 0
  		p[1] = 0
  
  		return p
  	}
  
  	p[0] /= dist
  	p[1] /= dist
  
  	return p
  }
docs: // Normalize treats the point as a vector and
  // scales it such that its distance from [0,0] is 1.