adding script to get the degrees of the nodes used in degruntime experiments