Custom histogram class
Added histogram sub-class