Basis-spline collocation method for the lattice solution of boundary value problems