Poker copy.py: card_ranks(hand) method implemented to return the list of the ranks(sorted order)