adding towers of hanoi solution