to display the minimum element of the array