Submitting trigram.py

Interesting data constructs.  I can see why Python is so popular.