[ailyasov] Add solution for homework2_6.