Update hanoi.cpp