Add histogram class
make histogram class local
add stat calculations to histogram
add iterator