Started making it work with arbitrary ngram size, not done, heading to lunch