another increment toward reading in the edges

modified readGraph and added storeEdge