reworked the word counter
Updated with printing dictionary of words that were separated by whitespace.
the program counts lower case  words without punctuation, works well