create dictionary of words.