add basic find dumplicate in an array of 0 to N-1