logic gates with truth table - Search