We had to write a function that should accept an array, a proc, and a block as args. It should return the element from the array that has the largest result when passed into