c++ hometask for HSE 2014