obtainEdgeList function

Obtain edgelist from graphite databases. To be used within prepareAdjMat