Killian used Scratch to create a working circuit. Click on the image below to try it out. Press the green flag in the middle of the screen and click the up button to switch the light off.