Add functions to language
Support function arguments
Fix regressions wrt. function scope
Support function overloads
Fix time advance in functions
Add demo
Fix scope issues