data of chain matrix multiplication
alg of chain matrix multiplication