Implement setLimit
Merge pull request #13 from fkmhrk/limit

Implement setLimit