solveHanoiByStack