Understanding 3-Way and 4-Way Switches: Wiring, Connections, and Applications