Update $.range to leverage the builtin Range type.

There's no need to do the iterations ourselves. We can use the builtin Range type instead and convert that to an Int[] array.