Create distinctWordsArrayDemo

first draft of distinctWordsArray with demo