input: Write a function to group a list of integers into three groups based on specific ranges.
  assert group_list([3, 5, 9, 12, 15, 18, 21]) == ([3, 5, 9], [12, 15], [18, 21])
  assert group_list([1, 10, 17, 18, 24, 25]) == ([1, 10], [17], [18, 24])
  assert group_list([0, 8, 11, 19, 23]) == ([0, 8], [11], [19, 23])
output: def group_list(lst):
      group1 = [x for x in lst if 0 <= x <= 10]
      group2 = [x for x in lst if 11 <= x <= 17]
      group3 = [x for x in lst if 18 <= x <= 25]
      return (group1, group2, group3)