Problem 10

//10. Find the smallest value in an array that is greater than a given
number.