Stripped whitespace from each word in wordList 

This fixes the bug where words would be considered one character longer than they actually were, due to the new line character counting as a character.