Tower of Hanoi algorithm for finding the smallest number of steps to move the stack.
github.com/miguelmota/hanoi
miguelmota/hanoi