Simple Python TicTacToe game using curses