Added in the code to split up incoming data and divide it into bins 
for the histogram, and then to output to a file.
fixed naming error
Added in code to detect peaks in the histogram and give the values to
the user
Merge pull request #1 from LunarLifeblood/formingHisto

Added in the code to split up incoming data and divide it into bins