HW 3 - task 2. Completed.