Given an array of numbers, remove the largest and smallest numbers, and calculate the average of the remaining numbers.
trimmedAverages([4, 5, 7, 100]) ➞ 6
// Average of 5 and 7
trimmedAverages([10, 25, 5, 15, 20]) ➞ 15
// Average of 10, 15 and 20
trimmedAverages([1, 1, 1]) ➞ 1
// 1