Create a function that takes an array and a number and selectively reverse the order of the array based on the number you're given (second argument). If you're given the arguments [1,2,3,4,5,6] and 2, you would return the array [2,1, 4,3, 6,5].
selReverse([1,2,3,4,5,6], 2) ➞ [2,1, 4,3, 6,5]
selReverse([2,4,6,8,10,12,14,16], 3) ➞ [6,4,2, 12,10,8, 16,14]
selReverse([5,7,2,6,0,4,6], 100) ➞ [6,4,0,6,2,7,5]
len exceeds the array length, reverse everything.len is zero, return the original array.