Discarded the idea of making BFS return a list of list, where each list represents
a level of the DFS tree. Result is now a simple list of nodes in bfs order.