Finding the largest number in an array