Added for loops

For loops have been implemented and tests for them have been made.
Merge branch 'template-engine'