TreeTest, Cut rod, Hanoi