code: def __init__(self, arr, function):
      self.tree = [None for _ in range(len(arr))] + arr
      self.size = len(arr)
      self.fn = function
      self.build_tree()
  
label_desc: Use image node_id 1 to create a new SegmentTree object  with example: obj = SegmentTree(arr, function)