Using a 2N2222 Transistor and a relay to switch on AC to control a light