Version 0.1.6, added not gate, xor gate