adding snap code for reading in adjacency list and calculating shortest paths, useful for performance comparison