/**
 * Given a list of dancer moves, append the moves to the list.
 *
 * @param dancerMoves List of current dancer moves.
 * @param moves Set of new dancer moves.
 * @return Updated list of dancer moves with the appended moves.
 */
fun appendDancerMoves(dancerMoves: MutableList<String>, moves: Set<String>): MutableList<String> {

    // Loop through each move in the set
    for (move in moves) {
        // Append the move to the list of dancer moves
        dancerMoves.add(move)
    }
    return dancerMoves
}
/**
 * Given a list of dancer moves, append the moves to the list.
 *
 * @param dancerMoves List of current dancer moves.
 * @param moves Set of new dancer moves.
 * @return Updated list of dancer moves with the appended moves.
 */
fun appendDancerMoves(dancerMoves: MutableList<String>, moves: Set<String>): MutableList<String> {
/**
 * Given a list of dancer moves, append the moves to the list.
 *
 * @param dancerMoves List of current dancer moves.
 * @param moves Set of new dancer moves.
 * @return Updated list of dancer moves with the appended moves.
 */
fun appendDancerMoves(dancerMoves: MutableList<String>, moves: Set<String>): MutableList<String> {

    // Loop through each move in the set
    for (move in moves) {
        // Append the move to the list of dancer moves
        dancerMoves.add(move)
    }
    return dancerMoves
}