refactored 003, created FindPrimeFactors function