Adding working version of mapLimit

Fixes #184.