Dfs Search Algorithm In Python Step