Canwy’s state of life automate