Implemented strings for templates

I know performance is not a major concern, but there is limits. Generating garbage in a loop when you know up front how much memory you need is one of these cases. Also, please make sure you put spaces after , or ;