Find word occurrence in two dimensional arrays.