added potter stemmer and removed factorial