結果 : matrix chain multiplication algorithm using dynamic programming