Create repeat.java