boolean function and truth table - Search