Initial adjacency list implementation.
Added dictionary-of-dictionaries implementation.