Update reverseBetween.java