added vector2 class