A list contains all integers from 1 to 10 except one number. Fix the function so that it finds and returns the missing number.