Neighbors logic fixed