works with robot diagonal checks and edge trimming
dubugged the neighbors