input: Write a python function to create a list of Movie objects from a list of dictionaries, each containing keys 'title', 'year', and 'rating'.
  assert create_movie_list([{'title': 'Inception', 'year': 2010, 'rating': 8.8}, {'title': 'The Matrix', 'year': 1999, 'rating': 8.7}]) == [Movie('Inception', 2010, 8.8), Movie('The Matrix', 1999, 8.7)]
  assert create_movie_list([{'title': 'The Shawshank Redemption', 'year': 1994, 'rating': 9.3}]) == [Movie('The Shawshank Redemption', 1994, 9.3)]
  assert create_movie_list([]) == []
output: class Movie:
      def __init__(self, title, year, rating):
          self.title = title
          self.year = year
          self.rating = rating
      
      def __eq__(self, other):
          return self.title == other.title and self.year == other.year and self.rating == other.rating
  
  def create_movie_list(movie_dicts):
      return [Movie(d['title'], d['year'], d['rating']) for d in movie_dicts]