adding logic for enabling stop words/testing using single occurance of each word in the document