Added solution for TicTacToe