Added breadthEach and postOrderEach methods.