updates.
Totally rewrited the Task 3 with the correct understand of question
Merge from Master.

task3 updated.