Two Pointer Array Problems In Javascript 175