Tic Tac Toe game in Python