Opposite Directional Two Pointer Approach Python