refactoring some code and almost working game

changed the board to be it's own class and can now almost work.. I think
the only real problem is that it can't end the game really