Added histogram example with Map::merge
Making HistogramCollector generic