it's an approach of reinforcement learning to hanoi. input cannot be too large.