Create USING BISECTION SEARCH TO MAKE THE PROGRAM FASTER