Trigrams and TrigramCheck.java updated