Working on creating adjacency matrix