input: Write a function named `create_people_dict` that takes a single string input containing names and ages in the format "Name (Age)" separated by commas. The function should return a dictionary with the names as keys and the ages as values.
  
  assert create_people_dict("John (20), Jane (40), Alex (18), Peter (45)") == {'John': 20, 'Jane': 40, 'Alex': 18, 'Peter': 45}
output: def create_people_dict(input_string):
      people_dict = {}
      for entry in input_string.split(','):
          name, age = entry.strip().split(' (')
          age = int(age.rstrip(')'))
          people_dict[name] = age
      return people_dict