Tic Tac Toe game in C++