Added 'is_equal(self,line)' function to class line.