Add description and solution in C++ of regular expression matching
problem