Added support for xor operator

This should close issue #935