Recursive solution to tower of hanoi.