simple ngram thing from stackoverflow using nltk