fixed addEdge and removeEdge. All appears to be working correctly