Adding correct algorithm for creating Trigrams. Trying to add a neat print statement at the end