hw3 trigram test