This function will take a list of integers and a key as input, and will return the index of the key if it exists in the list, or -1 if it does not exist.
This is a good solution that correctly implements a linear search through the array.
Evaluated at: 2022-11-25 12:15:53