Adjusted the way the strings print

To help debugging
Added a generate_sentences() function to Template

This generates a list of Sentence objects.

Additionally, some changes were made to the Sentence class to make this work.
Updated test.py to use the new Template.generate_sentences() method