Converted warcNgrams and NGramGenerator.java to produce ngrams with specified n (rather than just bigrams)