Tic Tac Toe game implemented in Python