Was just watching this and the code was clear enough to read at 1:12, a quick google turned it up, its a very slightly modified version of the code found here:
Clearly they have just deleted a few lines as the code shown has errors due to the removed lines. Figured people here might get a laugh out of it being used like this in a major film.
I just searched for the exact string // Add cells at random places using google. You will note they removed the line defining cX, but proceed to use it, so it’s clearly modified a bit.