Changed NAND simulation
Replaced silly debug statement