3. Matrix multiplication. Four matrices have been defined for you: A, B, C,
and D. Use dim() to calculate the dimensions of each matrix.
After you have identified each matrix's dimensions, post-multiply A by the matrix that has conforming dimensions.
After that, pre-multiply A by the matrix that has conforming dimensions. You can use the operator %*%
to perform matrix multiplication in R.