pub fn check_permutation<T, let N: u32>( original_array: [T; N], permuted_array: [T; N], original_indexes: [u32; N], ) where T: Eq