basic tic tac toe game in terminal