Yandex interview question: "You have been given array where all elements except 1 are repeated twice. You should find this unpaired element. Example: {2, 5, 2, 3, 4, 4,