Equality and hashCode for Team