Write a function to solve a basic algorithmic challenge using the language you are most comfortable with.
For this version, implement find_maximum, which returns the largest integer in a non-empty array. The function accepts a list of integers and returns one integer.
def find_maximum(nums):