pass in number of parallel processes
Merge pull request #46 from andrewjpage/make_parallel_work

pass in number of parallel processes