Tower Of Hanoi - Revisited SPOJ