did't pass tests. See task 2.6 description.
run tests from solutions/ivan_sidarau/2 project and generate input_261.txt and output_261.txt ( void binary_reader::tests_::generate_2_6_tests() ).