Learning python by trying to make a tictactoe game