Solved 1st problem of Lesson 2.