All of the butotn handling is implemented, as well as the timer. Not sure if the timing logic is correct, though. Still need to debounce.