program to add two matrices