結果 : write the algorithm for matrix chain multiplication using dynamic programming approach