Numerical Integration Method for solving Boundary value Problems