Change bfs_tree() to actually return a Tree instead of a Digraph.