made a histogram

Made a simple but working C program
Merge pull request #182 from frozdy/patch-3

made a histogram