Added task 4

Added task 4, but only 4_4, 4_5. Task 3 was checked before. From Rusovich Yuriy.