Add description and solution in C++ of partition list problem