compare_adjacencies function

Compare Adjacency Lists