added AHTreeArray, an alternate approach to the tree structure