Extremes
Instructions
Create a function extreme
that given an array of number find the bigest and
smallest number of the array
Examples:
extreme([-1, 0, 10, 5]) // -> { bigest: 10, smallest: -1 }
extreme([22, 7, 32, 99, 54]) // -> { bigest: 99, smallest: 7 }