Create XOR OF AN ARRAY BY SEGMENT TREE.cpp