adjusted traversal, breadth first post order still to do