Implemented walking a tree one node at a time depth-first