I've got the syntax working and the parallel working however when I'm console logging, the spawned processes seem to be starting one after another, effectively increasing the runtime by no. of threads times. This shows the line where I log the thread start and I get the following result in the console:
stared thread 1458678473324
stared thread 1458678474777
stared thread 1458678476539
stared thread 1458678478468
664579 primes were found between 0 and 10000000 in 5275 milliseconds
The calculation is correct, just the timing seems out.
Issue continued from: #113