Simulate In-Place Cellular State Updates | Google Coding Question