added testCode.c as an example of how to measure clock cycle usage