Added more code from the book re euler-transform and accelerated-sequence