Second Commit

Moved code in preparation of adding GUI
Moved Grid to a Global Scope
-Program is limited in scope and does not require multiple classes,
moving Grid to Global Class scope should be okay, accessible to class
itself only, all other functions are private to class