Circular Buffer exercise, remove temp variable in Clock exercise