OK, you posted that GIF, but hadn't mentioned that there was a particular 'sketch' in mind.
He's using Anodes for COLumns:
int cols[8] = {pins[13], pins[3], pins[4], pins[10], pins[06], pins[11], pins[15], pins[16]};
digitalWrite(cols[col], LOW); // Turn whole previous column off