Add range method
Merge pull request #7 from dejan/master

Add range method