add histograms
Create 2D histograms
add some comments for usability