adjusted kn tests
added shell script for counting ngrams
faster index generation
upgraded to version 0.0.2