Algorithm For Tower Of Hanoi In Python