input: Write a python function to convert a list of lists into a dictionary.
  assert convert_to_dict([['a', 1], ['b', 2], ['c', 3], ['d', 4]]) == {'a': 1, 'b': 2, 'c': 3, 'd': 4}
  assert convert_to_dict([['x', 10], ['y', 20], ['z', 30]]) == {'x': 10, 'y': 20, 'z': 30}
  assert convert_to_dict([['name', 'John'], ['age', 30], ['city', 'New York']]) == {'name': 'John', 'age': 30, 'city': 'New York'}
output: def convert_to_dict(lst):
      return {k: v for k, v in lst}