Fix syntax errors in TicTacToe module.