Changing internal storage of arcs and vertices. Creating new functions to add and remove