Extension of Euler's method to parabolic equations