code: def main():
      """
      Testing for matrix_chain_ordering
      """
      array = [30, 35, 15, 5, 10, 20, 25]
      length = len(array)
      # Size of matrix created from above array will be
      # 30*35 35*15 15*5 5*10 10*20 20*25
      matrix, optimal_solution = matrix_chain_order(array)
  
      print(
          "No. of Operation required: " + str((matrix[1][length - 1]))
      )
      print_optimal_solution(optimal_solution, 1, length - 1)
  
label_desc: Use image node_id 3 for calling a global function with example usage: main() without return types