code: def __init__(self, arr, function):
      self.segment = [0 for x in range(3 * len(arr) + 3)]
      self.arr = arr
      self.fn = function
      self.make_tree(0, 0, len(arr) - 1)
  
label_desc: Use image node_id 1 to create a new SegmentTree object  with example: obj = SegmentTree(arr, function)