Implemented orGate