copied Histogram code from caesar cipher project