Finished? implementing the DirectedGraph class