https://mixrolikus.cc/video/ob7qTAEengE/matrix-chain-multiplication-using-dynamic-programming