Make removeEdge chainable
Fix bug in removeEdge for undirected graphs