Added removeEdges! function

Also added some tests too.