Java utility factorizing large numbers.