Create timer.h

This is the given "timer.h" file from "An Introduction to Parallel Programming" by Peter S. Pacheco.