DegreeDistribution function

Degree distribution of the network