fix neigh detect
fix neigh detect

Bryukh-Checkio-Tasks/checkio-mission-count-neighbours,CheckiO-Missions/checkio-mission-count-neighbours,Empire-of-Code-Puzzles/checkio-empire-count-neighbours,Empire-of-Code-Puzzles/checkio-empire-count-neighbours,Bryukh-Checkio-Tasks/checkio-mission-count-neighbours,Bryukh-Checkio-Tasks/checkio-mission-count-neighbours,CheckiO-Missions/checkio-mission-count-neighbours,CheckiO-Missions/checkio-mission-count-neighbours,Empire-of-Code-Puzzles/checkio-empire-count-neighbours