find duplicate number in array python