A Python program to flash an LED on and off when a button is pressed