Added dfs & bfs