Create MS_LongestRepeatedSequence.c++