add nand example from weidongshan code