Randomized algo repeated element added