Dfs Program Using Python Help