input: Write a function to design a Python class for storing movie information including the name, year of release, genre, and rating. The class should have an `__init__` method to initialize these attributes. If an instance of the class is created and attributes are accessed, they should return the corresponding values.
  assert Movie("Interstellar", 2014, "Sci-Fi", 8.4).name == "Interstellar"
  assert Movie("Interstellar", 2014, "Sci-Fi", 8.4).release_year == 2014
  assert Movie("Interstellar", 2014, "Sci-Fi", 8.4).genre == "Sci-Fi"
  assert Movie("Interstellar", 2014, "Sci-Fi", 8.4).rating == 8.4
output: class Movie:
      def __init__(self, name, release_year, genre, rating):
          self.name = name
          self.release_year = release_year
          self.genre = genre
          self.rating = rating