Hanoi, Array, Treenode