Two Pointer Algorithm Python Code For Beginners