def find_not_uniq_words(in_array)
      all_words = []
      counter = {}
      result = []
      in_array.compact.each do |url_desc_cont|
        next unless url_desc_cont[1][0]
        url_desc_cont[1][0].scan(/\w+/).each do |word|
          all_words << word
        end
      end
      all_words.each do |word|
        if counter[word]
          counter[word] += 1
        else
          counter[word] = 1
        end
      end
      counter.each_pair do |word, number|
        result << word if number > 1
      end
      result.uniq
    end
def find_not_uniq_words(in_array)
      all_words = []
      counter = {}
      result = []
      in_array.compact.each do |url_desc_cont|
        next unless url_desc_cont[1][0]
        url_desc_cont[1][0].scan(/\w+/).each do |word|
          all_words << word
        end
      end
      all_words.each do |word|
        if counter[word]
          counter[word] += 1
        else
          counter[word] = 1
        end
      end
      counter.each_pair do |word, number|
        result << word if number > 1
      end
      result.uniq
    end
in_array must be [[url_of_page, words_in_string_with_space],[next, same_element]]