logic circuit simplification 4210333