/**
 * Check if there are any missing expenses in the list.
 *
 * @param expenses list of expenses made
 * @param expectedExpenses set of expected expenses
 * @return set of expenses that are missing
 */
fun checkMissingExpenses(expenses: List<String>, expectedExpenses: Set<String>): Set<String> {

    // Initialize an empty set to store the missing expenses
    val missingExpenses = mutableSetOf<String>()
    
    // Loop through the expected expenses
    for (expense in expectedExpenses) {
        // Use if statement to check if the expense is missing
        if (expense !in expenses) {
            // Add the missing expense to the set missingExpenses
            missingExpenses.add(expense)
        }
    }
    
    // Return the set of missing expenses
    return missingExpenses
}
/**
 * Check if there are any missing expenses in the list.
 *
 * @param expenses list of expenses made
 * @param expectedExpenses set of expected expenses
 * @return set of expenses that are missing
 */
fun checkMissingExpenses(expenses: List<String>, expectedExpenses: Set<String>): Set<String> {
/**
 * Check if there are any missing expenses in the list.
 *
 * @param expenses list of expenses made
 * @param expectedExpenses set of expected expenses
 * @return set of expenses that are missing
 */
fun checkMissingExpenses(expenses: List<String>, expectedExpenses: Set<String>): Set<String> {

    // Initialize an empty set to store the missing expenses
    val missingExpenses = mutableSetOf<String>()
    
    // Loop through the expected expenses
    for (expense in expectedExpenses) {
        // Use if statement to check if the expense is missing
        if (expense !in expenses) {
            // Add the missing expense to the set missingExpenses
            missingExpenses.add(expense)
        }
    }
    
    // Return the set of missing expenses
    return missingExpenses
}