So... What's your problem? I don't see a question... Maybe I'm missing it?
"I do not fully understand 2d vector arrays"
Do you need a tutorial on what 2d vectors are?
Essentially, they're just a vector of vectors.
(Slightly) More clearly: There is a vector. Each element in that vector is a new vector.
That's pretty much it.