find equation from truth table - Search