Add not and and implemented with Nand gates only