added degree_histogram and a make/save histogram using matplotlib