made the DoubleSolenoid class