wrote method to compare two player's hands