Wrote ngrams() function which could probably be optimized
Seems to index ./ack-index OK