n_gram.py removed nltk dependence (enbables pypy)