2d vector exercise complete, unrefactored