I don't understand this part of my code:
initConf = ReplacePart[Table[0, {2 n + 1}, {2 n + 1}], Random[Integer, {1, 4}], {n + 1, n + 1}]
In the book explain that the formula to the system is 2n+1 and that the range of n contain values 1 to 4