Here 3 input OR Gate is implemented by creating it's Sub-circuit.