coding #3 updating files of the histograms application