The Western Digital Dashboard may provide QA test data as an array of numeric SMART metric readings. Write a function that returns the largest number in a non-empty array without sorting the array or using a built-in maximum function.
Implement find_largest(nums), where nums is a non-empty list of integers. Return the greatest integer in nums. The input list must not be modified.
def find_largest(nums):