add getLongestRepeatingSubstring()