simple terminal based tictactoe