Truth Table to Logic Circuit - Search