Program for multiplication of the matrix