prints n prime numbers