Update TicTacToe.py

Should work to make the game "safer" for running.