code: def equal(self, line1, line2):
          '''
          return true if exactly equal or if equal but modified,
          otherwise return false
          return type: BooleanPlus
          '''
  
          eqLine = line1 == line2
          if eqLine:
              return BooleanPlus(True, False)
          else:
              unchanged_count = self.count_similar_words(line1, line2)
              similarity_percent = (
                  (2.0 * unchanged_count) /
                  (len(line1.split()) + len(line2.split()))
              )
              if similarity_percent >= 0.50:
                  return BooleanPlus(True, True)
              return BooleanPlus(False, Falsef equal(self, line1, line2):
          '''
          return true if exactly equal or if equal but modified,
          otherwise return false
          return type: BooleanPlus
          '''
  
          eqLine = line1 == line2
          if eqLine:
              return BooleanPlus(True, False)
          else:
              unchanged_count = self.count_similar_words(line1, line2)
              similarity_percent = (
                  (2.0 * unchanged_count) /
                  (len(line1.split()) + len(line2.split()))
              )
              if similarity_percent >= 0.50:
                  return BooleanPlus(True, True)
              return BooleanPlus(False, False)
docs: return true if exactly equal or if equal but modified,
          otherwise return false
          return type: BooleanPlus