input: Write a function to find all subarrays of a given list.
  assert find_subarrays([1, 2, 3]) == [[1, 2, 3], [1, 2], [1], [2, 3], [2], [3]]
  assert find_subarrays([4, 5, 6]) == [[4, 5, 6], [4, 5], [4], [5, 6], [5], [6]]
  assert find_subarrays([7, 8]) == [[7, 8], [7], [8]]
output: def find_subarrays(lst):
      subarrays = []
      for start in range(len(lst)):
          for end in range(start + 1, len(lst) + 1):
              subarrays.append(lst[start:end])
      return subarrays