Matrix Chain Multiplication

HDU - 1082