Computer generation of numerical methods for ordinary differential equations