Code to compare neighbour sets with syn lists