Create lab5timerimpl.c

Lab 5 timer implementation