Changed word printing to more efficient form

prints out "word:count" instead of "word" repeated multiple times.
Merge pull request #30 from rhiever/efficient-form

Changed word printing to more efficient form