pub fn array_max<T>(arr: &[T]) -> Twhere T: PartialOrd + Copy,
Get the maximum value of an array
arr
The maximum value found in the array