project for module 1: Degree distributions for graphs