Fix bugs in getEdges and addEdge
triple-equals
Merge pull request #1 from grncdr/patch-1

Fix bugs in getEdges and addEdge