Added chkArrNum function

checks for the closest greater number in an array