sem2hw2task1: A node of pointer-based linked list was defined as a
class, now it is a structure. So, all code working with nodes has moved
to methods of pointer-based linked list. I think that code became
simpler.