Added example of multi-parameter function in example/func.cpp.

The new method takes any number of parameters and prints them.
Clarified comments in func.cpp