結果 : implement depth first search using python