Create nand.cpp