Add description and solution in C++ of distinct subsequences problem