Add a function to the sample program
Compile sample program with new code
Add notes on functional programming in C