fn sim(
    least_mana_used: Arc<Mutex<u64>>,
    boss_hitpoints: i64,
    boss_damage: u64,
    player_hitpoints: i64,
    player_mana: i64,
    active_spells: Vec<(i64, i64, i64, u64, u64, i64, u64)>,
    player_turn: bool,
    mana_used: u64,
    part_two: bool
) -> bool