Constructing a Frequency Histogram