Add lesson 2 code to control LED through switch.