concurrent prime number generation