added an addEdge function to debGraph