Added code and an exercise to Lesson 2