a c++ program that multiplies two matrices