glfw Window

Implemented GLFWWindow for the game. Also added code in
GameEngine::handleEvents that checks if the window was closed.