#1024: Equals method added in card class