Created trigram.py
Updated trigram.py so output ends with a period