Implemented add_vertex and remove_vertex methods in Graph class.