Reversing Strings In Python Using Stack