Reverse String In Java Using While Loop