Coding Challenge for generating a table of prime numbers