as_multi_adj function

Convert a list of graphs to an adjacency matrices