Dfs Algorithm In Python Using Pip