Implemented parallel compiling
jansel's comments
Merge pull request #6 from samfin/master

Implemented parallel compiling