add matrix_chain_multiplication