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 to_dict([["apple", "red", "green"], ["banana", "yellow", "green"]]) == {'apple': ['red', 'green'], 'banana': ['yellow', 'green']}
  assert to_dict([["car", "blue", "fast"], ["bike", "green", "slow"]]) == {'car': ['blue', 'fast'], 'bike': ['green', 'slow']}
  assert to_dict([]) == {}
output: def to_dict(lst):
      return {item[0]: item[1:] for item in lst}