What is the max integer in an array?
Implement a function that returns the largest integer in a non-empty array. The function should inspect the array directly and return a single integer.
Function: def find_max_integer(nums):
Input: A non-empty list of integers. Output: The largest integer in the list.
def find_max_integer(nums):