Bluevine Interview Question

Implement "range" function with same behavior as in python