Reversing Strings In Python Using Loop