added TrigramLanguageModel class