Add def-let.
Refactor the histogram function. Add tests for it too.