Test a different way of storing adjacency list