program to find the product of two matrices