Refactors task creation into function (which could be recursively called)
Added second example template with subtasks
Adds subtasks
Merge branch 'subtasks'