clock_test: added example that demonstrates how to use the clock API to do a task every few milliseconds