built vector2 class