optimized code to simulate LIFE at 7 generations/sec