change finite() to isfinite(), move definition of MIN_ALLOWED_DEGREE,
MAX_SEARCH_VAL, SEARCH_STEP_SIZE to continued_fraction.cpp