find number of neighboring squares which are mines