updates to graph.h vertex.cpp