PrimeGenerator refactored - CleanCode Example