input: Write a python function to convert a list of tuples 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", 24), ("y", 25), ("z", 26)]) == {'x': 24, 'y': 25, 'z': 26}
  assert convert_to_dict([]) == {}
output: def convert_to_dict(tuples_list):
      return dict(tuples_list)