Words near xy matrix in the dictionary