fixed problem 5
problem 6 solved
added generate_n_primes() and n_primes()
problem 7 solved