ngrams.cpp added