insertEdge

Made, commented, and tested the insertEdge method.