A better solution for the PrimesParallel exercise.