add Vec2D object for working with 2D vectors