The idea is to count the naighbors of one cell in my game of life implementation, however I somehow can\'t find a way to implement it in a correct way because my code doesn\