Update hanoi.py

correction bogue