Changed BFS annotations to DFS because thats what it is