Added latest version of polling based timer code. Added version of
interrupt based timer code. Polished code for the interrupt code.