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. If the list of lists is empty, return an empty dictionary.
  assert list_to_dict([["apple", "red", "green"], ["banana", "yellow", "green"]]) == {'apple': ['red', 'green'], 'banana': ['yellow', 'green']}
  assert list_to_dict([]) == {}
output: def list_to_dict(lst):
      return {sublist[0]: sublist[1:] for sublist in lst}