Game of life working