removed unused import
fixed getNumberOfEdges in SimpleGraph
added some println messages for bug fixing
some more minor modifications