Created class PrimeFactors for prime factorization tasks