Question: algorithm solve ODE

Dear all
I have an algorithm  to solve a first order odes, all steps of the algorithm ( as presented in the book are coded) but unfortunately something wrong. 
The algorithm and the code are attached in the following code. 
Thank you in advantage for your help. 

sol_odes.mw

Please Wait...