Creates a Vector2D class for 2-dimensional vector operations