Cleaned up more code. Got the impl of remove edges the way I wanted it to work for both directed/undirected.