toAdjencyList

This method creates an adjency list from a traversable Iterable.