Implement And gate.