Update ArithmeticProgression.java