Modified a few registers from atmega328p regarding timers.
Added a method to clear interrupt flags from timers