Modified things, got the adjacency matrix about working