Create Directedgraph.py