Problem 007 solution. Added primes() generator to utilities.