implements nand
readme grammar for nand