join-based prime numbers generator w/ benchmark