There isn't enough information to find the problem. The value of alive feeding back into the the value of neighbor and the number of times this function is called. You can prove to yourself that it ...