Added the third neighbor. now for bigger boards
fixed a bug that made inner nodes get negative neighbors