small update to genPrimes.c