input: Write a function that takes a list of tuples, where each tuple contains a name and an age, and returns a dictionary with the names as keys and the ages as values. If the input list is empty, return an empty dictionary.
      
      assert create_people_dict([('John', 20), ('Jane', 40), ('Alex', 18), ('Peter', 45)])=={'John': 20, 'Jane': 40, 'Alex': 18, 'Peter': 45}
      assert create_people_dict([])=={}
      assert create_people_dict([('Alice', 30), ('Bob', 25)])=={'Alice': 30, 'Bob': 25}
      assert create_people_dict([('Charlie', 50)])=={'Charlie': 50}
      assert create_people_dict([('David', 35), ('Eve', 28), ('Frank', 32)])=={'David': 35, 'Eve': 28, 'Frank': 32}
output: def create_people_dict(people):
      return {name: age for name, age in people}