Lighting random LEDs in 8x8 pattern

Just for my education...why are the row pin modes set as INPUT? It seems a bit odd. Doesn't that put them in high impedance mode and then writing to them just switches the internal pull up resistors in and out?

Steve