Reverse String In Python Using Function