10: memory leak was fixed; 20,31 are solved
10: Methods of passing arguments to functions was replaced from pointer to reference; 24 was solved;
36,37 is done