trigrams are hard

Nice use of iteration to create these sets.