Hi,
If your neighbors arts doesn't follow a logic ( like it is a predefined maze for example), Simply maintain look up tables.
have an HashTable ( from arrayMaker) with the following
"3.0"->artwork reference
"3.1"->artwork reference
etc
If your artwork follows a logic, then it's best if you implement it without Look up tables.
Also, I am working on an xml system, which would likely comes handy here for you, if you think that defining your maze with xml ( or json, I have it cooking too), let me know, I'll send you a package. I want to make this available soon, but needs polishing.
bye,
Jean