An implementation of CS361 Homework 1: Histogram Generator