added histogram example based on opencv
Merge pull request #330 from Mageswaran1989/histogram_example

added histogram example based on opencv