generate actual program code in functions demo
Merge branch 'master' into gh-pages