Refactored code and fixed a bug with moving to 2d vectors

The new vector2MM class holds an xMin, xMax, yMin, yMax; it helps move
data around in the graphics engine class. main.cpp should have been
removed, I moved to to graphicsWindow.cpp so it will more easily work
with other modules