/**
 * This function takes a list of current enemies and a new enemy, and appends the new enemy to the list.
 *
 * @param currentEnemies A list of current enemies.
 * @param newEnemy The new enemy to be added.
 * @return The updated list of enemies with the new enemy added at the end.
 */
fun addEnemy(currentEnemies: MutableList<String>, newEnemy: String): List<String> {

    currentEnemies.add(newEnemy)
    return currentEnemies
}
/**
 * This function takes a list of current enemies and a new enemy, and appends the new enemy to the list.
 *
 * @param currentEnemies A list of current enemies.
 * @param newEnemy The new enemy to be added.
 * @return The updated list of enemies with the new enemy added at the end.
 */
fun addEnemy(currentEnemies: MutableList<String>, newEnemy: String): List<String> {
/**
 * This function takes a list of current enemies and a new enemy, and appends the new enemy to the list.
 *
 * @param currentEnemies A list of current enemies.
 * @param newEnemy The new enemy to be added.
 * @return The updated list of enemies with the new enemy added at the end.
 */
fun addEnemy(currentEnemies: MutableList<String>, newEnemy: String): List<String> {

    currentEnemies.add(newEnemy)
    return currentEnemies
}