/**
 * This function takes in a list of photos and a subject, and returns a new list
 * containing only the photos that match the given subject.
 */
fun findPhotosBySubject(photos: List<String>, subject: String): List<String> {

    val matchingPhotos = mutableListOf<String>()
    
    for (photo in photos) {
        if (subject in photo) {
            matchingPhotos.add(photo)
        }
    }
    
    return matchingPhotos
}
/**
 * This function takes in a list of photos and a subject, and returns a new list
 * containing only the photos that match the given subject.
 */
fun findPhotosBySubject(photos: List<String>, subject: String): List<String> {
/**
 * This function takes in a list of photos and a subject, and returns a new list
 * containing only the photos that match the given subject.
 */
fun findPhotosBySubject(photos: List<String>, subject: String): List<String> {

    val matchingPhotos = mutableListOf<String>()
    
    for (photo in photos) {
        if (subject in photo) {
            matchingPhotos.add(photo)
        }
    }
    
    return matchingPhotos
}