def playfair_deal_with_dups(text):
    """playfair can't deal with conseuctive letters being duplicated,
    this adds in an X between conseuctive duplciated letters

    Args:
        text ([str]): plain text to get rid of dups

    Returns:
        [message]: list of text with the X's added where there are conseuctive duplicates
    """
    message = list(text.strip())
    for i in range(1,len(message)):
       
        if message[i] == message[i-1]:
                message.insert(i, "X")

    return message