add new code to demo equals() and hashCode() relationship