Small refactoring
Add printing intermediate steps
Merge branch 'master' of https://github.com/VerkhovtsovPavel/DiVM-Lab1