Reverse A String Using Two Pointers Python