Fixed NGramGenerator to use ArrayList for collecting ngrams, rather than sets, so that the ngram counts are meaningful. Added new array list test to ngramUtils.java.