a working version of the euler method implemented.