tree breadth pre-order traversal + world def