Update tutorial-17.md

Fix intermediate function to invoke the deftemplate-generated function.
Merge pull request #99 from jamesnvc/patch-1

Update tutorial-17.md