Refactoring

Removed `_factor_trial_division()` and refactor `factor()`