Finished the code that toggles solenoids with a switch. Added a way to control the relay with a controller.