Reading matrixes from file, saving them to memory, edited test.sh

Function for initializing matrixes (allocating space,reading from file,output matrixes and releasing memory)
Edited test.sh, the script is now checking if matrixes could be multiplicated