adding trigram homework for alexg