Tower of Hanoi Recursion

code:

output:

Pseudocode:

Formula: 2^n-1

https://en.wikipedia.org/wiki/Tower_of_Hanoi