Model and TicTacToe and tests