bug fixes to AddGraphEdge()
add test for empty graph; bug fix in RemoveGraphEdge()