implement task4_6
task4_6 update
task4_6 update
task4_4: replace shared_ptr with shared_array for char[]
update hw4 fix compilation warnings
Merge pull request #165 from ailyasov/master

implement task4_6 from ailyasov