Further implementation of TicTacToe