Diagrams For Space Complexity Of Memoized Matrix Chain Multiplication Algorithm