Implemented GameStates

Moved initial test code to StateTest