Added adjacent vertices and incident edges code