ode Solver function

1st draft