Program to calculate the root using bisection method