add insert_vertex
test passed for insert vertex