Text this: Numerical solution of some class of integro-differential equations by using legendre-bernstein basis