Two Pointer Technique Python Compiler