added second version of postorder trav