Рябенко - Лабораторная работа №2

@VVillwin, @borodulina, @ljaljushkin review please.
Don't create 3 separate variables, just pass `new ...` as parameter (You use this vars only once, so it's noise).