A function that returns the largest number in an array