Add function templates

Adds the templates for Beaver’s functions such as stack, list, insert,
etc.
Merge branch 'master' into dev