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.
  function  converts alist of lists into a dictionary
  
  assert build_dict([["apple", "red", "green"], ["banana", "yellow", "green"]])=={'apple': ['red', 'green'], 'banana': ['yellow', 'green']}
  assert build_dict([["carrot", "orange"], ["grape", "purple", "green"]])=={'carrot': ['orange'], 'grape': ['purple', 'green']}
  assert build_dict([["orange", "fruit"]])=={'orange': ['fruit']}
  assert build_dict([])=={}
  
output: def build_dict(lst):
      return {sublist[0]: sublist[1:] for sublist in lst}