Add xor and xnor gate class