This method will take in a Graph and a List of new edges, and output a graph with these new edges along with the previous edges.
|
|
|
The object addEdge is a method function.