Created playground and added a function to simlib for degree distribution