Arrays

Completed arrays and set1. 
Check your solution here. It might be returning the array and not the maximum value. Try adding 
return val
or just
val
before this line to return the maximum value.