Created New Histogram Function

New function does not require as much memory as dictionaries are not
being created. Hopefully this means it will be useful on files that are
much larger.