Added DFS and BFS