moved window creation and gameloop to Game class
implemented grid class and drawing grid