finished prime_factors