input: Write a function to design a class in Python for storing movie information including the name, year of release, genre and rating.
  
  class Movie:
      def __init__(self, name, release_year, genre, rating):
          self.name = name
          self.release_year = release_year
          self.genre = genre
          self.rating = rating
  
  movie = Movie("Interstellar", 2014, "Sci-Fi", 8.4)
  assert (movie.name, movie.release_year, movie.genre, movie.rating) == ("Interstellar", 2014, "Sci-Fi", 8.4)
output: def __init__(self, name, release_year, genre, rating):
      self.name = name
      self.release_year = release_year
      self.genre = genre
      self.rating = rating