Software Debouncing

Slow Implementation of software debouncing. More needs to be done