Implemented Vector2D and Vector3D.

Now we have a class to represent positions and forces in 2D or 3D spaces.