[#5] Generate equals() and hashCode()