Add histogram function
Add initial but broken histogram support

This seems like it might be a useful feature. Unfortunately things
aren't behaving well at all.
Add .gitignore