I want to make function that makes a list with the no. of neighbors for every cell in a state,
I take the opposite border cells as neighbors to each other so 2 in [2,0,1]