Logic Expression From Circuit with Switch - Search