Create longestRepetition_udacity