/**
 * Given a list of data and a list of elements to exclude, return a filtered list that includes only the elements from
 * the data that are not in the exclude list.
 *
 * @param data a list of elements (strings, integers, etc.)
 * @param excludeList a list of elements to exclude from the data
 * @return filteredList a list that includes only the elements from the data that are not in the exclude list
 */
fun filterData(data: List<Any>, excludeList: List<Any>): List<Any> {

    // Use filter to create a new list that includes only elements not in the excludeList
    val filteredList = data.filter { element -> element !in excludeList }
    return filteredList
}
/**
 * Given a list of data and a list of elements to exclude, return a filtered list that includes only the elements from
 * the data that are not in the exclude list.
 *
 * @param data a list of elements (strings, integers, etc.)
 * @param excludeList a list of elements to exclude from the data
 * @return filteredList a list that includes only the elements from the data that are not in the exclude list
 */
fun filterData(data: List<Any>, excludeList: List<Any>): List<Any> {
/**
 * Given a list of data and a list of elements to exclude, return a filtered list that includes only the elements from
 * the data that are not in the exclude list.
 *
 * @param data a list of elements (strings, integers, etc.)
 * @param excludeList a list of elements to exclude from the data
 * @return filteredList a list that includes only the elements from the data that are not in the exclude list
 */
fun filterData(data: List<Any>, excludeList: List<Any>): List<Any> {

    // Use filter to create a new list that includes only elements not in the excludeList
    val filteredList = data.filter { element -> element !in excludeList }
    return filteredList
}