fn create_jazz_playlist(jazz_songs: vec<string>, user_requests: vec<string>) -> vec<string> { let mut playlist = vec::new(); for song in jazz_songs { if user_requests.contains(&song) || song.contains("unuttered") { playlist.push(song); } } playlist.sort(); playlist.dedup(); if playlist.is_empty() { println!("starting over again with preparatory selections."); for i in 0..jazz_songs.len() { if !user_requests.contains(&jazz_songs[i]) && !jazz_songs[i].contains("omit") { playlist.push(jazz_songs[i].clone()); } } } playlist }