added is_adjacent, remove_vertex, and remove_edge