trigrams are hard

I really appreciate that you're labeling what you're printing. However, you can make this a little cleaner in the code by providing a sequence to the `print` statement, by using string formatting, or by using the `print` function instead of the `print` statement:

    print u"Formed a new dict", "\n", d
    # or
    print u"Formed a new dict\n{}".format(d)
    # or
    from __future__ import print_function
    print(u"Formed a new dict", d, sep="\n")