Finished part 5: histogram
Merge pull request #2 from blackdoor/ndev

Finished part 5: histogram