Suggested implementation for issue #2
Probably should check that there are unfinished jobs
Trololololol
Brackets around i++ for readability
Merge pull request #18 from iwhitfield/master

Merging PR. Tested and shit looks good.