logic circuit generator from truth table - Search