Added method to GameBoard to check if a player has valid move.
Also added associated test.