Continued Fraction Algorithm/Examples