First draft of removeEdge