Exercise2

Nice work on using a nested function. I like this approach.