Primes refactor task taken from Uncle Bob's Clean Code book