adj_list_2_matrix function

Convert adjacency list to a matrix