custom neighbourhoods nearly working

Taking a 2D array as a neighbourhood is working, right now it's a static
array but this means it will work with any cusotm array, although a
small bug is not allowing the simulation to run past a certain point,
not sure what the error is as the browser says there was an issue, but
glassfish does not spit out any error messages..