Create ShortestRepetition.java