Update ReverseString.java

new update