Added method to get the node score map. Making the nodescore results persistant by writing to a file in a particular format.