add xor solution for single number