Web crawler BFS DFS Implementation