prog examples for finding missing number in an array of integers from 1..N