program to display minimum element in the array