Added functionality in exercise 2.2, except for add-all-edges.