matrix chain multiplication algo

visit shbcf.ru