misc/logic: Add 4 pin and gate
misc/logic: Add 4 pin or gate