Support for multiple switch/gate combinations. (eg. 1 switch and 3 gates
or 5 switches and 1 gate)