Implement equals and hashCode in Quiz