結果 : how to code a graph data structure in python