modified equals method of QuizItem