Stated adding code to vector2 class