Added challenge #17 in C++