Foreach for Histogram
Renamed to wordfreq as per assignment
Squashe a GCC warning about struct intialization