<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def insert_data(self, node, data, start, end):
 """loops through all the data and inserts them into the empty tree"""

        for item in data:
            self.recursive_insert(node, [item[0], item[1]], item[-1], start, end)