fixes infinite loop with ranges when called with uneven steps (ex: range(0, 3, 2))
Merge pull request #3 from fabiosantoscode/master

fixes infinite loop with ranges when called with uneven steps (ex: range(0, 3, 2))