Final code

Code before implementation of Euler function