added the TicTacToe class