Update RotatedArray.java