Refactor: change var name newPrimes to subPrime and + testfor minPrimeFactor