Update $.range to leverage the builtin Range type.
Merge pull request #12 from nubbel/pr/range-conversion

Update $.range to leverage the builtin Range type.