added upto, with passing test
Merge pull request #31 from milktrader/upto

added upto, with passing test