String Reverse Function In Python String