made a histogram

Made a simple but working C program