fn get_existing_indices( lhs_indices: &[char], rhs_indices: &[char], ) -> HashSet<char>
Returns a set of all the indices in the LHS or the RHS