First attempt at histogramming.