Reverse String Without Using Inbuilt Function Python