AND gate made from NAND gates