Try to implement solver/permutator "A Permutation Network, Abraham Waksman 1967" in C++