How To Reverse String Using For Loop In Java