Update matrix_chain_order.py