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 list_to_dict([["apple", "red", "green"], ["banana", "yellow", "green"]])=={'apple': ['red', 'green'], 'banana': ['yellow', 'green']}
  assert list_to_dict([["carrot", "orange"], ["grape", "purple"]])=={'carrot': ['orange'], 'grape': ['purple']}
  assert list_to_dict([["cherry", "red"], ["blueberry", "blue"]])=={'cherry': ['red'], 'blueberry': ['blue']}
  assert list_to_dict([])=={}
output: def list_to_dict(lst):
      return {sublist[0]: sublist[1:] for sublist in lst}