Debouncing Timer

Implementation of the timer to do the debouncing