input: Write a function to convert a list of lists into a dictionary where the first element of each list is the key and the rest of the elements are the values.
  assert lists_to_dict([["apple", "red", "green"], ["banana", "yellow", "green"]])=={'apple': ['red', 'green'], 'banana': ['yellow', 'green']}
  assert lists_to_dict([["orange", "orange"], ["grape", "purple"]])=={'orange': ['orange'], 'grape': ['purple']}
  assert lists_to_dict([])=={}
  assert lists_to_dict([["single"]])=={'single': []}
  assert lists_to_dict([["key1", "val1"], ["key2"]])=={'key1': ['val1'], 'key2': []}
output: def lists_to_dict(lst):
      result = {}
      for sublist in lst:
          if sublist:
              key = sublist[0]
              values = sublist[1:]
              result[key] = values
      return result