Get the minimum and maximum of the array..