was replaced own copying algorithm to standard algorithm copy_n
creating library for work with messages
correcting deal library
some correction for solution of task_2