boolean truth table for gate - Search