finish DFS, WIP on BFS