xor example moved to samples project