Create an Analysis of Similarities Code in C++