Find all the repeated numbers in an array