fixed bug in TicTacToeBoard