Simple Tic-Tac-Toe game built using C++ stdin and stdout