added fermat_factor method