def move(password, position_x, position_y):
    """Move letter from position_x to position_y.

    Letter should be removed from password and inserted at position_y.
    """
    to_move = password.pop(position_x)
    password.insert(position_y, to_move)
    return password