plus more replacement of y, x loops with cell ranges, adding static neighbor coords.
since I'm not feeling like I'm going to tackle this in another language... yet.