Added XOR gate. The neighbors code isn't working...