Create lab5timer.c

Timer from lab5 main function