Rangos inclusivos reversibles en listas

Devuelve todos los enteros desde start hasta end, incluidos ambos extremos. Cuenta en orden ascendente cuando start sea menor y en orden descendente cuando sea mayor.

reversibleInclusiveList(1, 5) // [1, 2, 3, 4, 5]
reversibleInclusiveList(24, 17) // [24, 23, 22, 21, 20, 19, 18, 17]