Uploaded skeleton code for button press (SW1)