54 Poker hands - Handle record types (refactored)