C++ based tic tac toe game