/**
 * Given a list of strings representing mineral information, a position, and a specific mineral information
 * to be inserted, the function inserts the mineral information at the specified position and returns the
 * modified list.
 *
 * @param strList A list of strings representing mineral information.
 * @param pos The position at which the mineral information should be inserted.
 * @param mineralInfo The specific mineral information to be inserted.
 * @return The modified list of strings with the mineral information inserted at the specified position.
 */
fun insertMineralInfo(strList: MutableList<String>, pos: Int, mineralInfo: String): List<String> {

    // Insert the mineral information at the specified position
    strList.add(pos, mineralInfo)
    return strList
}
/**
 * Given a list of strings representing mineral information, a position, and a specific mineral information
 * to be inserted, the function inserts the mineral information at the specified position and returns the
 * modified list.
 *
 * @param strList A list of strings representing mineral information.
 * @param pos The position at which the mineral information should be inserted.
 * @param mineralInfo The specific mineral information to be inserted.
 * @return The modified list of strings with the mineral information inserted at the specified position.
 */
fun insertMineralInfo(strList: MutableList<String>, pos: Int, mineralInfo: String): List<String> {
/**
 * Given a list of strings representing mineral information, a position, and a specific mineral information
 * to be inserted, the function inserts the mineral information at the specified position and returns the
 * modified list.
 *
 * @param strList A list of strings representing mineral information.
 * @param pos The position at which the mineral information should be inserted.
 * @param mineralInfo The specific mineral information to be inserted.
 * @return The modified list of strings with the mineral information inserted at the specified position.
 */
fun insertMineralInfo(strList: MutableList<String>, pos: Int, mineralInfo: String): List<String> {

    // Insert the mineral information at the specified position
    strList.add(pos, mineralInfo)
    return strList
}