improved the ode_solver_eulers

modified the function to improve