remove edge

made, tested, and commented the removeEdge Function