Added code for Lesson 2 'Handling Attributes'