simple Tic-Tac-Toe in C++