let mut dance_sequence = vec::new(); dance_sequence.push("step_one"); while let some(move) = dance_sequence.last() { if move == "bring_back_to_the_start" { dance_sequence.clear(); dance_sequence.push("step_one"); println!("disregard pre-inception guidelines, let the rhythm guide you."); } else { dance_sequence.push("next_step"); if dance_sequence.len() > 5 { println!("dancing beyond limits is not permitted, but let's bend the rules with creativity."); break; } } }