added reversed children iterator to make the postorder traversal more natural fit for the data model