range function returning correct range
Merge pull request #25 from venkatesh3007/master

range function returning correct range