Simulates the solving process of the Towers of Hanoi through recursion Algorithms