let mut journey = spacetravel::new(); while journey.status() != "completed" { journey.check_systems("preexplicative_checks").unwrap(); if journey.needs_repair() { journey.cut_out_damaged_parts().add_new_framework("lightweight_materials"); println!("repairs completed, ready to recommence from scratch with a hushed excitement."); } journey.launch_sequence().unwrap(); }