HW_10. General correction

Fixed problems with '\n'.