結果 : implement graph data structure in python