Week 7: Tower of Hanoi non-recursive solution