added __hash__ and __eq__ to Player object
refactored using set comprehension