Philipp's solution
Euler's method works perfect now