Update ArrangingPatternInArray.java