Dfs Algorithm In Python Using Google