Implemented playHand function