Using solution sets for solving boundary value problems for ordinary differential equations