MyMap and MyReduce for histogram (not tested)

I begun to write code for map and reduce function for histogram. I have
not compiled or tested it. Not sure if it is gonna work.