I\'m working on a program that reads 5x5 matrix from .dat file, performs few tasks and saves outputs of those tasks to separate files. At the moment I\'ve got two functions. One