Generates n numbers of prime and output a multiplication table of the primes