Builad adjacency matrix from list of authors and papers