Added removeCardsFromHands function