Code for generating the VG as an adjacency matrix...