pub fn get_hairpin_score(seq: &[usize], pos_pair_close: &(usize, usize)) -> f32