Reverse String In Python Without Using Inbuilt Functions In Java