Added examples: AND gate and OR gate.