Implement `factor_lehman_method()`
Change function signature of `gcd_ext()`
Change function signature of `mod_inverse()`
Change function signature of `i_nth_root()`
Remove trailing spaces