Approximate Euler's number and store intermediates in a vector

Exercise Type: Modification

Instructions

Using the code from earlier to approximate the Euler number, create an empty vector and add the intermediate calculation results to it in every iteration so we can reuse them!