Bisection and Newton working!!