Solving differential equations: the Euler method