changing Board to BoardState
added a gameOver() method to BoardState class. To Be Changed.