modified Vertex to store edges with GHashTable