added code to do formatting, remove stop words, generate corpus