add equality method for players