Ternary Simulation

Using three values (0,1,X), N-input NAND requires N+1 vectors to verify