implemented 6 more passing tests for range. Now works like python's range
(cherry picked from commit 451d9c5d62e5d24ff77c6bfc14fe337f591efe3c)