Added DirectedGraph Class