program to display the minimum element in the array