adds method to link vertices of a vertex