Added overridden equals and hashCode methods to Card class (better containment and removal checks on HashSets).