attempt at rewriting the game to use classes. error when trying to make grid