added utils to build adjacency matrix from line shapefile and associated tests