3 input truth table logic gate - Search