Find smallest int in an array
Functions - Find half of given value