Determines the solution to an ODE using the Euler Method