My array suggestion was to encode the pair in numbers: 01 = dead/1 neighbor, 02 = dead/2 neighbors, ... 09 = alive/1 neighbor, 10 = alive/2 neighbors, etc... and then put this in an array:a[1] = dead, a[2] = dead... Probably the fastest you can get, verbosity very low but readability... unsure