problem 5 refactored
problem 6 naive solution
problem 7 naive solution
problem 7 prime search with looking into only currently calculated primes