Added beta version of 3rd task.
Test data and main.
Add 2nd part of the task.
Cosmetic details.