hw1_katz_trigram