added repeatingSubstring.java