Find Minimum And Maximum Value Of The Array