Implemented the necessary features for TicTacToe whiley example.