/// Switch pairs
///
/// Switch successive pairs of values in a stack starting from the bottom. If there is an odd number of values, the top element is not moved. Two approaches: one using an auxiliary stack, one using an auxiliary queue.
///
/// # Examples
///
/// Basic usage:
/// ```
/// let result = algorithmz::stack::switch_pairs(vec![3, 8, 17, 9, 1, 10]);
/// assert_eq!(result, vec![8, 3, 9, 17, 10, 1]);
/// ```