Continued working on game logic

Added game_logic.cpp
Altered window.h and window.cpp to (at least) compile.