input: Write a python function to compare two Song objects based on their attributes and return True if they are equal, otherwise False.
  assert Song("Imagine", "John Lennon") == Song("Imagine", "John Lennon")
  assert Song("Hey Jude", "The Beatles") != Song("Hey Jude", "The Rolling Stones")
  assert Song("Shape of You", "Ed Sheeran") != Song("Perfect", "Ed Sheeran")
output: class Song:
      def __init__(self, title, artist):
          self.title = title
          self.artist = artist
  
      def __eq__(self, other):
          if isinstance(other, Song):
              return self.title == other.title and self.artist == other.artist
          return False