Added threading

~3 seconds per million iterations. Definitely experiment with the number
of threads; too many and you lose efficiency.
(Forgot to upload .class)