Still working on the histogram

But it doesn't work yet.