Update JAVA - Reverse a string