Program To Implement Dfs In Python Tree Service