Find a number out of a given Integer array. It can return the closest, smaller and larger number to the integer requested.