Add basic multithreading.
Merge pull request #2 from jpmontez/concurrency

Add basic multithreading.