trigrams are hard

This `for` loop is implicit in the `set()` constructor. `set()` accepts an iterable and strings are iterable, so you can simply pass the string to `set()`.