Added first draft of DirectedGraph.