DegreeDistribution function

Node degree distribution