Executing the matrix multiplication given the optimal order
optim_prod(matrix_ls)
matrix_ls
A list of matrices to be multiplied