input: Write a function named design_movie_class that creates a class in Python for storing movie information including the name, year of release, genre, and rating. The function should return an instance of the class Movie with the provided attributes.
  
  def design_movie_class():
      class Movie:
          def __init__(self, name, release_year, genre, rating):
              self.name = name
              self.release_year = release_year
              self.genre = genre
              self.rating = rating
      return Movie
  
  # Example usage:
  Movie = design_movie_class()
  movie = Movie("Interstellar", 2014, "Sci-Fi", 8.4)
  print(movie.name, movie.release_year, movie.genre, movie.rating) # Expected output: Interstellar 2014 Sci-Fi 8.4
output: def design_movie_class():
      class Movie:
          def __init__(self, name, release_year, genre, rating):
              self.name = name
              self.release_year = release_year
              self.genre = genre
              self.rating = rating
      return Movie