Added NAND latch to LOGIC.h