poj 1651. DP. matrix-chain multiplication problem