Fully functional prime factorizer
Merge https://github.com/nadyac/LargestPrimeFactorizer