Update code project1a using button debounce.