Trigrams.py latest version

You're going to need to add to new_form in this loop, or return something else at the end of the function. As it stands, new_form is empty at the end of the function.