[lab5]: Split the code into functions by task + small bugfix

Merge request reports

Loading