Two Pointer Algorithm Python Template Engine Ejseka