A3 Console Histogram Solution