Setup for the WordCount exercise
First pass at the word count algorithm