Rename Finding MAX and MIN value from an Array to MAX,MIN value inside an Array