Tic Tac Toe game in python