logical gates with truth table - Search