input: Write a function to design a class in Python for storing movie information including the name, year of release, genre, and rating. The class should include an initialization method that takes these attributes as parameters and assigns them to instance variables.
  
  class Movie:
      def __init__(self, name, release_year, genre, rating):
          self.name = name
          self.release_year = release_year
          self.genre = genre
          self.rating = rating
  
  assert Movie("Inception", 2010, "Sci-Fi", 8.8).name=="Inception"
  assert Movie("The Matrix", 1999, "Action", 8.7).release_year==1999
  assert Movie("Titanic", 1997, "Drama", 7.8).genre=="Drama"
  assert Movie("The Dark Knight", 2008, "Action", 9.0).rating==9.0
  
  movie = Movie("Interstellar", 2014, "Sci-Fi", 8.4)
  print(movie.name, movie.release_year, movie.genre, movie.rating)
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
  