Write logic for independent control of lights with two lights per relay.