Add histogram.rb file