Text-based Python Tic Tac Toe Game