implemented basic interrupt checker
Adds to counter when person presses the button.