Add hanoi as test case for stack