Algorithm For Secant Method