Histograms for grouped data

Problem #2