find the missing number in a given array