create_example_func function

Create an example for the func argument of the create_usrtool function