Write a function: function smallestInt(A);
that, given an array A of N integers, returns the smallest positive integer (greater than 0) that does not occur in A.