input: Write a function to insert an element into a sorted list.
  assert insert_element([1, 2, 6, 8], 3) == [1, 2, 3, 6, 8]
  assert insert_element([1, 3, 4, 5], 2) == [1, 2, 3, 4, 5]
  assert insert_element([1, 2, 3, 5, 6], 4) == [1, 2, 3, 4, 5, 6]
  assert insert_element([10, 20, 30], 25) == [10, 20, 25, 30]
output: def insert_element(sorted_list, element):
      for i in range(len(sorted_list)):
          if element < sorted_list[i]:
              sorted_list.insert(i, element)
              return sorted_list
      sorted_list.append(element)
      return sorted_list