Add NAND gate pattern