added vector2d class and a basic main function