Adding comments to functionality in AdjacencyList