Add functions.c as an example to lecture 12

- update functions.c to print a dash before function outputs