Make progress on arithmetic-progressions.java