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([["car", "blue", "fast"], ["bike", "black", "slow"]])=={'car': ['blue', 'fast'], 'bike': ['black', 'slow']}
  assert list_to_dict([["pen", "black"], ["pencil", "yellow"]])=={'pen': ['black'], 'pencil': ['yellow']}
  assert list_to_dict([])=={}
output: def list_to_dict(lst):
      return {sublist[0]: sublist[1:] for sublist in lst}