Change to launch multiple tasks if offer is big enough

Patch for #14 was originally pushed on a branch `patch/issue-14`(#23).
But, the branch was based on old commit and merging the branch to master requires us to resolve some conflicts and refactoring.  So, I've make merging branch `merge-patch-issue-14` for making this patch to be mergable to master.