TicTacToe in C++