AdjencyListDirectedGraph and UndirectedGraph finished.