Solving a nonlinear system of second order boundary value problems