Code to demonstrate interrupts on the Arduino