ex3_example for SIO6014 to show how to use a library