Continued Fraction Algorithm For Sqrt Function