Logic Gate Circuit to Truth Table - Search