Adds working pieces of the adjacency list builder.  All sub-functions are working.