Added reference TicTacToe implementation