add c++ matrix multiplication code