GPT as a Monte Carlo Language Tree: A Probabilistic Perspective