Add description and solution in C++ of permutations problem