Added simple test for hanoi function.