Added DFS search.