Hello @Grumpy_Mike,
There is an example here that may help to initialize the array:
Updated
Adding link below for any visitors to this topic in future.
There are tutorials here (including 2D arrays) that are a good starting point:
Tutorials / Processing.org
:)